﻿namespace VATReader
{
    public class VATModel
	{
		private string invoiceNum;
		/// <summary>
		/// 发票号码
		/// </summary>
		public string InvoiceNum
		{
			get { return invoiceNum; }
			set { invoiceNum = value; }
		}

		private string invoiceMoney;
		/// <summary>
		/// 含税金额
		/// </summary>
		public string InvoiceMoney
		{
			get { return invoiceMoney; }
			set { invoiceMoney = value; }
		}

		private string company;
		/// <summary>
		/// 购方名称
		/// </summary>
		public string Company
		{
			get { return company; }
			set { company = value; }
		}

		private string data;
		/// <summary>
		/// 开票日期
		/// </summary>
		public string Data
		{
			get { return data; }
			set { data = value; }
		}

		private string type;
		/// <summary>
		/// Type
		/// </summary>
		public string Type
		{
			get { return type; }
			set { type = value; }
		}

		public override string ToString()
		{
			return string.Format("{0} {1} {2} {3} {4}", invoiceNum, invoiceMoney, Company, data, type);
		}
	}
}
